package com.itheima.Interface1;

public class Test {
    //认识接口
    public static void main(String[] args) {
        C a=new C();
        a.run();
    }

     static class C implements A,B{

        @Override
        public void run() {
            System.out.println("run");
        }

        @Override
        public void play() {
            System.out.println("play");
        }
    }
}
